package com.cloudfun.msglisten.service.impl;

import com.cloudfun.msglisten.RemoteBloomFilterService;
import com.cloudfun.msglisten.ws.haier.handler.HaierWsDeviceMsgHandler;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by Huqin on 2019/12/31
 */
@Service
@Component
public class RemoteBloomFilterServiceImpl implements RemoteBloomFilterService {

    @Autowired
    private HaierWsDeviceMsgHandler haierWsDeviceMsgHandler;

    @Override
    public void addImei(String imei) {
        haierWsDeviceMsgHandler.addImeiToBloomFilter(imei);
    }
}
